package com.example.myFirstWebmagic.company.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.ElementCollection;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * ClassName: CompanyJcfa 
 * @Description: 企业监测方案
 * @author xiongyao
 * @date 2017年3月23日
 */
@Entity
@Table(name="En_Company_Jcfa")
public class CompanyJcfa implements Serializable{

	
	/**
	 * @Fields serialVersionUID : TODO
	 */
	private static final long serialVersionUID = 1L;


	/**
	 * 监测方案id
	 */
	@Id
	private String id;
	
	
	/**
	 * 行政区
	 */
	@Column
	private String district;
	
	/**
	 * 行业
	 */
	@Column
	private String industry;
	
	
	/**
	 * 企业类型
	 */
	@Column
	private String type;
	
	/**
	 * 污染物种类
	 */
	@Column
	private String pollutantSourceType;
	
	/**
	 * 排口属性
	 */
	@Column
	private String exitAttribute;
	
	
	/**
	 * 废水是否外排
	 */
	@Column
	private String ifDrainOut;
	
	/**
	 * 产污工艺简述
	 */
	@Column(columnDefinition="TEXT")
	private String briefIntroductionOfSewageProductionProcess;
	
	/**
	 * 污染处理工艺简述
	 */
	@Column(columnDefinition="TEXT")
	private String briefIntroductionOfPollutionTreatmentTechnology;
	
	public String getBriefIntroductionOfPollutionTreatmentTechnology() {
		return briefIntroductionOfPollutionTreatmentTechnology;
	}

	public void setBriefIntroductionOfPollutionTreatmentTechnology(
			String briefIntroductionOfPollutionTreatmentTechnology) {
		this.briefIntroductionOfPollutionTreatmentTechnology = briefIntroductionOfPollutionTreatmentTechnology;
	}

	/**
	 * 委托机构名称
	 */
	@Column(columnDefinition="TEXT")
	private String nameOfAgency;
	
	/**
	 * 执行排放标准
	 */
	@Column(columnDefinition="TEXT")
	private String dischargeStandards;
	
	/**
	 * 排放去向
	 */
	@Column(columnDefinition="TEXT")
	private String emissionFate;
	
	/**
	 * 质量控制措施
	 */
	@Column(columnDefinition="TEXT")
	private String qualityControlMeasurement;
	
	/**
	 * 监测项目
	 */
	@ElementCollection
	private Set<CompanyJcxm> companyJcxms=new HashSet<CompanyJcxm>();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getIndustry() {
		return industry;
	}

	public void setIndustry(String industry) {
		this.industry = industry;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getPollutantSourceType() {
		return pollutantSourceType;
	}

	public void setPollutantSourceType(String pollutantSourceType) {
		this.pollutantSourceType = pollutantSourceType;
	}

	public String getExitAttribute() {
		return exitAttribute;
	}

	public void setExitAttribute(String exitAttribute) {
		this.exitAttribute = exitAttribute;
	}

	public String getIfDrainOut() {
		return ifDrainOut;
	}

	public void setIfDrainOut(String ifDrainOut) {
		this.ifDrainOut = ifDrainOut;
	}

	public String getBriefIntroductionOfSewageProductionProcess() {
		return briefIntroductionOfSewageProductionProcess;
	}

	public void setBriefIntroductionOfSewageProductionProcess(
			String briefIntroductionOfSewageProductionProcess) {
		this.briefIntroductionOfSewageProductionProcess = briefIntroductionOfSewageProductionProcess;
	}

	public String getNameOfAgency() {
		return nameOfAgency;
	}

	public void setNameOfAgency(String nameOfAgency) {
		this.nameOfAgency = nameOfAgency;
	}

	public String getDischargeStandards() {
		return dischargeStandards;
	}

	public void setDischargeStandards(String dischargeStandards) {
		this.dischargeStandards = dischargeStandards;
	}

	public String getEmissionFate() {
		return emissionFate;
	}

	public void setEmissionFate(String emissionFate) {
		this.emissionFate = emissionFate;
	}

	public String getQualityControlMeasurement() {
		return qualityControlMeasurement;
	}

	public void setQualityControlMeasurement(String qualityControlMeasurement) {
		this.qualityControlMeasurement = qualityControlMeasurement;
	}

	public Set<CompanyJcxm> getCompanyJcxms() {
		return companyJcxms;
	}

	public void setCompanyJcxms(Set<CompanyJcxm> companyJcxms) {
		this.companyJcxms = companyJcxms;
	}

	public CompanyJcfa() {
		// TODO Auto-generated constructor stub
	}
	
	
}
